 package antoine.ear;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.lang.reflect.Constructor;

import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.Box;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.JPanel;

import antoine.ear.exo.Exo;
import antoine.ear.exo.ExoFactory;
import antoine.ear.generator.ChordGenerator;
import antoine.ear.keyboard.Keyboard;

public class Main {
	
	public static void main(String[] args)	{
		try {
	        //Schedule a job for the event-dispatching thread:
	        //creating and showing this application's GUI.
	        javax.swing.SwingUtilities.invokeLater(new Runnable() {
	            public void run() {
	            	GUI gui = GUI.getInstance();
		        	gui.player = new Player(null);
		        	gui.player.init();
		        	gui.createAndShowGUI();
	            }
	        });
		} catch (Exception e) {
			e.printStackTrace();
			System.exit(-1);
		}
	}
	
}

